#include "StdAfx.h"
#include "MessageHelper.h"

serialization& endm( serialization& buf )
{
	xgc_uint16* msglen = (xgc_uint16*)buf.base();
	*msglen = buf.wd();
	return buf;
}

serialization& operator << ( serialization& buf, serialization& end( serialization& ) )
{
	return end( buf );
}